function generateLogin(fatherDom) {
  let htmlStr = `
    <div class="big-data-login">
          <!-- logo -->
          <div class="login-img">
            <img src="../../assets/imgs/loginlogo.png" alt="" />
          </div>
          <!-- 选项卡 -->
          <div class="tabs">
            <div class="tabs-top">
              <ul class="df jc ac tabs-list">
                <li class="active">账号登录</li>
                <span></span>
                <li>扫码登录</li>
              </ul>
            </div>
            <!-- 内容 -->
            <div class="tabs-bottom">
              <!-- 账号 -->
              <div class="on">
                <form action="../../pages/home/home.html" class="form">
                  <p class="user-info">
                    <span class="span1"></span>
                    <input class='phone' type="text" placeholder="用户名/手机号/邮箱" />
                    <img class='delete' src='../../assets/imgs/delete.png'>
                    <em class='emTips'></em>
                  </p>
                  <p class="user-info">
                    <span class="span2"></span>
                    <input class='pwd' type="password" placeholder="密码" />
                    <img class='eyes' src='../../assets/imgs/close.png'>
                    <em class='emTips2'></em>
                  </p>
                  <a href="#" class="forget">忘记密码</a>
                  <p>
                    <button>登录</button>
                  </p>
                  <span class="account"
                    >还没有源码账号,<a href="#">立即注册</a>
                    <em></em>
                  </span>
                </form>
              </div>
              <!-- 扫码 -->
              <div class="code">
                <div class="item-content">
                  <img src="../../assets/imgs/showqrcode.jpg" alt="" />
                  <p>微信扫码登录</p>
                  <p>未关注源码科技公众号，请先关注后再登录</p>
                </div>
                <p class="account2">还没有源码账号,<a href="#">立即注册</a></p>
              </div>
            </div>
          </div>
        </div>
    `;
  fatherDom.innerHTML = htmlStr;
}
generateLogin($(".mask"));
